package com.yvtian.utils;

public class RedisConstant {

    //用户登录时存储的验证码
    public static final String REDIS_LOGIN_CAPTCHA_KEY = "login_captcha";
    //登录时验证码的过期时间
    public static final int REDIS_LOGIN_CAPTCHA_EXPIRED_TIME = 1000 * 60 * 5;
    //用户Token过期时间
    public static final int REDIS_USER_TOKEN_EXPIRED_TIME = 14400;
    public static final String REDIS_USER_TOKEN_KEY = "user_token";
    //用户的信息
    public static final String REDIS_USER_INFO_KEY = "user_info";
    //用户拥有的所有权限
    public static final String REDIS_USER_PERMISSION_KEY = "user_permission";
}
